package com.yimils.core.sys.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.List;

@Data
public class UserMenuVo {
    private List<Menu> menuList;

    @Data
    public static class Menu {
        private Long id;
        private Long parentId;
        private String icon;
        private Integer type;
        private String name;
        private String title;
        private String path;
        private String opt;
        private Integer sys;
        private Integer sort;
        @JsonIgnore
        private Integer active;
        @JsonInclude(JsonInclude.Include.NON_NULL)
        private List<Menu> children;
    }
}
